﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <!-- Bootstrap Core CSS -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom CSS -->
    <link href="../css/sb-admin.css" rel="stylesheet">
    <!-- Custom Fonts -->
    <link href="../font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <script src="../js/jquery.js"></script>
    <style>
        table{
            margin-top: 20px;
            text-align: center;
        }
    </style>
</head>
<body>
<div id="page-wrapper">
    <div class="container-fluid">
        <div class="row">
            <div class="panel panel-default">
                <div class="panel-heading" style="background-color: #00c0ff;">
                    <h3 class="panel-title" style="color:#fff;"><i class="fa fa-clock-o fa-fw"></i>活动管理-维护活动</h3>
                </div>
                <br/>
                <div align="center">
                    <form action="" method="post">
                        &nbsp;&nbsp;&nbsp;活动名称：<input class="inp" type="text" name="name" size="12"/>
                        活动时间：<input class="inp" type="text" name="time" size="12"/>
                        负责人：<input class="inp" type="text" name="userName" size="12"/>
                        <a href="#"><input type="button" value="查询" id="cha"/></a>
                    </form>
                </div>
                <div align="center">
                    <table id="comment_list" width="554" height=250px" border="1" cellpadding="0" cellspacing="0"   >
                        <tr  style="background-color: #aaaaaa;">
                            <td>活动名称</td>
                            <td>活动时间</td>
                            <td>负责人</td>
                            <td>操作</td>
                        </tr>
                        <tr>
                            <td>奔跑吧小伙伴</td>
                            <td>2017-04-04</td>
                            <td>姜老师</td>
                            <td><a href="#">编辑</a>/<a href="#">删除</a></td>
                        </tr>
                        <tr>
                            <td>春游</td>
                            <td>2017-03-03</td>
                            <td>徐老师</td>
                            <td><a href="#">编辑</a>/<a href="#">删除</a></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                        <tr class="tr">
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                    </table>
                </div>
                <div class="text-center">
                    <ul class="pagination">
                        <li class="disabled"><a href="javascript:;"><input name="首页" type="submit" value="页数XX"/></a></li>
                        <li class="disabled"><a href="javascript:;"><input name="首页" type="submit" value="总条数XX"/></a></li>
                        <li><a style="height: 40px" href="javascript:;">&laquo;</a></li>
                        <li><a style="height: 40px" href="javascript:;">&lt;</a></li>
                        <li class="active"><a ><input name="首页" type="submit" value="当前第XX页"/></a></li>
                        <li><a style="height: 40px" href="javascript:;">&gt;</a></li>
                        <li><a style="height: 40px" href="javascript:;">&raquo;</a></li>
                        <li class="disabled"><a href="javascript:;"><input name="首页" type="submit" value="每页XX条"/></a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="../js/jquery.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../js/bootstrap.min.js"></script>
<script type="text/javascript">
    //实现效果：隔行换色
    $(function () {
        $("#comment_list tr:even").not(":first").css("background","#eee");
    });
</script>
</body>
</html>